package com.ruoyi.ui.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地址管理对象 ui_member_addr
 * 
 * @author ruoyi
 * @date 2022-09-06
 */
public class UiMemberAddr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Long addrId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long memberId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String recriver;

    /** 省id */
    @Excel(name = "省id")
    private Long provinceId;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 城市id */
    @Excel(name = "城市id")
    private Long cityId;

    /** 区 */
    @Excel(name = "区")
    private String area;

    /** 区id */
    @Excel(name = "区id")
    private Long areaId;

    /** 具体地址 */
    @Excel(name = "具体地址")
    private String addr;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 状态,1正常，0无效 */
    @Excel(name = "状态,1正常，0无效")
    private Integer state;

    /** 是否默认地址 1是 */
    @Excel(name = "是否默认地址 1是")
    private Integer commonAddr;

    public void setAddrId(Long addrId) 
    {
        this.addrId = addrId;
    }

    public Long getAddrId() 
    {
        return addrId;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setRecriver(String recriver) 
    {
        this.recriver = recriver;
    }

    public String getRecriver() 
    {
        return recriver;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setCommonAddr(Integer commonAddr) 
    {
        this.commonAddr = commonAddr;
    }

    public Integer getCommonAddr() 
    {
        return commonAddr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addrId", getAddrId())
            .append("memberId", getMemberId())
            .append("recriver", getRecriver())
            .append("provinceId", getProvinceId())
            .append("province", getProvince())
            .append("city", getCity())
            .append("cityId", getCityId())
            .append("area", getArea())
            .append("areaId", getAreaId())
            .append("addr", getAddr())
            .append("mobile", getMobile())
            .append("state", getState())
            .append("commonAddr", getCommonAddr())
            .toString();
    }
}
